<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
<h3>{$username}</h3>

<p>{date('Y-m-d H:i:s')}</p>
<ul>

{loop $data $k $v}
<li>{$k}: 标题：{$v[title]} 内容：{$v[content]}</li>
{/loop}
</ul>

{if $tag}
tag为真
{else}
tag为假
{/if}

</body>
</html>
